/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.excesys.exsecs.om.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 问题池
 *
 * @author weiyj
 * @date 2023-02-24 13:53:35
 */
@Data
@TableName("om_o_question")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "问题池")
public class OmOQuestion  extends Model<OmOQuestion> {

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	@Schema(description = "主键")
	private Integer qtId;

	/**
	 * 问题编号
	 */
	@Schema(description = "问题编号")
	private String questionNo;

	/**
	 * 问题标题
	 */
	@Schema(description = "问题标题")
	private String questionTitle;

	/**
	 * 问题描述
	 */
	@Schema(description = "问题描述")
	private String questionDesc;

	/**
	 * 发起人
	 */
	@Schema(description = "发起人")
	private Long questionUserId;

	/**
	 * 处理人
	 */
	@Schema(description = "处理人")
	private Long dealUserId;

	/**
	 * 问题状态
	 */
	@Schema(description = "问题状态")
	private String questionStatus;

	/**
	 * 发起时间
	 */
	@Schema(description = "发起时间")
	private LocalDateTime questionTime;

	/**
	 * 处理时间
	 */
	@Schema(description = "处理时间")
	private LocalDateTime handleTime;

	/**
	 * 创建人
	 */
	@TableField(fill = FieldFill.INSERT)
	@Schema(description="创建人")
	private String createBy;

	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	@Schema(description="创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新人
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@Schema(description="更新人")
	private String updateBy;

	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@Schema(description="更新时间")
	private LocalDateTime updateTime;


}
